// This File Was Decompiled Using Sascm.Ini Published By Gtag (Http://gtag.Gtagaming.Com/opcode-Database) On 14.6.2013
{$Cleo .Cs}

//-------------Main---------------
0000:
THREAD 'RUN1'


WHILE TRUE
    WAIT 0
    IF 0AD2: 30@ = player $PLAYER_CHAR targeted_actor //IF and SET 
    JF continue
    if not Actor.Dead(30@)
    JF continue
    0ACD: "PRESS SPACE" 100
    IF 00E1:   player 0 pressed_key 16
    JF continue
    0665: get_actor 30@ model_to 29@ 
    IF AND
      29@ > 0
      287 > 29@
    JF continue
    IF 07DE:   model 29@ exists // versionB 
    JF continue                                                                                                                                                        
    Model.Load(29@)                                                                                                                                    
    038B: load_requested_models
    IF MODEL.Available(29@)
    JF continue                                                                                                                                 
    09C7: change_player 0 model_to 29@                                                                                                                 
    Player.Build(0)                                                                                                                                         
    0687: clear_actor $PLAYER_ACTOR task
    //walk hack
    1@ = 0x609A4E                                                                         
    0A8C: write_memory 1@ size 4 value 0x90909090 virtual_protect 0                       
    0A8E: 1@ = 1@ + 0x4 // int                                                           
    0A8C: write_memory 1@ size 2 value 0x9090 virtual_protect 0     
END